PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Menu Manager >

Mac OS 8.5 Menu Manager Reference


IsMenuItemIconEnabled

Reports whether a given menu item icon is enabled.

pascal Boolean IsMenuItemIconEnabled (
                     MenuHandle menu,
                     UInt16 item);
menu
A value of type MenuHandle . Pass a handle to the menu containing the icon to be examined.
item
An unsigned 16-bit integer. Pass a value specifying the item number of the menu item containing the icon.
function result
A value of type Boolean . The function returns true if the menu item icon is currently enabled; otherwise, false .

DISCUSSION

Your application can use the IsMenuItemIconEnabled function to determine whether a specific menu item's icon is currently enabled or dimmed.


VERSION NOTES

Available with Mac OS 8.5 and later.


SEE ALSO

The DisableMenuItemIcon function.

The EnableMenuItemIcon function.


© 1999 Apple Computer, Inc. — (Last Updated 19 Jan 99)